Skip to content

refactor: replace benchmark system with local comparisons and CodSpeed - #100

Draft
ScriptedAlchemy wants to merge 15 commits into
mainfrom
codex/codspeed-benchmarks
Draft

refactor: replace benchmark system with local comparisons and CodSpeed#100
ScriptedAlchemy wants to merge 15 commits into
mainfrom
codex/codspeed-benchmarks

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Collaborator

Summary

  • Replace the legacy benchmark matrix, synthetic workspace, history branch, and report scripts with two focused realistic build/dev cases.
  • Add a required PR-local base/head comparison that posts an upserted Markdown report and uploads the JSON artifact.
  • Add a credential-free CodSpeed/Vitest walltime suite; its upload is isolated as a soft-failing CI step until repository access is enabled.

Validation

  • pnpm test:core — 44 files, 481 tests passed
  • pnpm bench:smoke — passed
  • pnpm bench:codspeed — passed locally without CodSpeed credentials
  • Prettier and actionlint checks passed

@pkg-pr-new

pkg-pr-new Bot commented Jul 18, 2026

Copy link
Copy Markdown

Open in StackBlitz

pnpm add https://pkg.pr.new/rsbuild-plugin-react-router@ff4f0f9

commit: ff4f0f9

@github-actions

github-actions Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Benchmark results

Case Base Head Delta
build-256-ssr 1933.4 ms 1937.5 ms +0.2%
dev-48-ssr 813.9 ms 826.2 ms +1.5%

@codspeed-hq

codspeed-hq Bot commented Jul 27, 2026

Copy link
Copy Markdown

Congrats! CodSpeed is installed 🎉

🆕 2 new benchmarks were detected.

You will start to see performance impacts in the reports once the benchmarks are run from your default branch.

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

Detected benchmarks


Open in CodSpeed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant